/**************************************************************************************
 *
 * @(#) EnvUtils.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.utils
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.utils;
/**
 * @description: 获取当前环境
 * @author: huangAn
 * @createDate: 2025/04/29
 */
public class EnvUtils {
    private static String activeProfile;

    public static void setActiveProfile(String profile) {
        activeProfile = profile;
    }

    public static boolean isDev() {
        return "dev".equals(activeProfile);
    }

    public static boolean isLocal() {
        return "local".equals(activeProfile);
    }
}




